<template>
  <div class="bb-bg">
    <div class="co-title">
      <div class="co-title-name">
        <img src="@/assets/cockpit/subdivision/js-text-tdsp.png" alt="" />
      </div>
      <div class="co-title-right">
        <!-- <div class="co-title-breathe"><i></i><i></i><i></i><i></i><i></i><i></i></div> -->
        <div class="right-text">单位：公顷</div>
      </div>
    </div>
    <div class="bpl-container">
      <div class="bb4-main">
        <ul class="bb4-list">
          <li class="bb4-l-each">
            <div class="bb4-le-sub bb4-le-sub1">
              <div class="bb4-leb-light"></div>
              <div class="bb4-leb-tri"></div>
              <div class="bb4-leb-word">
                <p>617.46</p>
                <h6>建设用地审批总面积</h6>
              </div>
            </div>
          </li>
          <li class="sp-right-list">
            <div class="item">
              <div class="icon"></div>
              <div class="text-area">
                <p class="text">国有建设用地面积</p>
                <p class="num">372.78</p>
              </div>
            </div>
            <div class="item">
              <div class="icon"></div>
              <div class="text-area">
                <p class="text">集体建设用地面积</p>
                <p class="num">372.78</p>
              </div>
            </div>
            <div class="item">
              <div class="icon"></div>
              <div class="text-area">
                <p class="text">设施农用地面积</p>
                <p class="num">372.78</p>
              </div>
            </div>
            <div class="item">
              <div class="icon"></div>
              <div class="text-area">
                <p class="text">临时用地面积</p>
                <p class="num">372.78</p>
              </div>
            </div>
            <div class="item">
              <div class="icon"></div>
              <div class="text-area">
                <p class="text">先行用地面</p>
                <p class="num">372.78</p>
              </div>
            </div>
          </li>
        </ul>
      </div>
    </div>
  </div>
</template>

<script lang="ts">
import { Vue, Component } from 'vue-property-decorator'

@Component({
  name: 'BuildLandItem1',
  components: {}
})
export default class BuildLandItem1 extends Vue {
  mounted() {}
}
</script>
<style lang="scss" scoped>
@import '~@/styles/cockpit.scss';
.bb-bg {
  width: 100%;
  height: 100%;
  padding: 12px 12px 12px 16px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  position: relative;
  &::before {
    content: '';
    display: block;
    width: 20px;
    height: 103%;
    background: url('~@/assets/cockpit/bpl-bg-line.png') no-repeat 0/ 100% 100%;
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translate(0, -50%);
  }
  .bpl-container {
    padding-top: 8px;
    overflow-x: hidden;
  }
}
.bb4-main {
  width: 100%;
  position: relative;
  z-index: 1;
}
.right-text {
  font-size: 12px !important;
  color: #dffeff;
}
.bb4-list {
  width: 100%;
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  .sp-right-list {
    width: 100%;
    flex: 2;
    display: flex;
    flex-wrap: wrap;
    border-left: solid 1px rgba(255, 255, 255, 0.1);
    margin-top: -4px;

    .item {
      display: flex;
      background: rgba(255, 255, 255, 0.05);
      width: 130px;
      height: 42px;
      padding: 8px;
      margin-left: 12px;
      .icon {
        width: 4px;
        height: 4px;
        margin-top: 4px;
        margin-right: 6px;
        display: block;
        background: #f9f0d4;
        border-radius: 1px;
        box-shadow: 0 0 4px 1px #f0b04a;
        transform: rotate(45deg);
      }
      .text-area {
        .text {
          font-size: 12px !important;
          color: #dffeff;
        }
        .num {
          color: #fff;
          font-size: 14px;
          line-height: 20px;
        }
      }
    }
  }
  .bb4-l-each {
    flex: 1;
    position: relative;
    .bb4-le-sup1 {
      width: 100%;
      height: 20px;
      font-size: 12px !important;
      line-height: 16px;
      color: #dffeff;
      text-align: center;
      margin-top: 7px;
    }
    .bb4-le-sup2 {
      width: 100%;
      height: 34px;
      font-size: 12px !important;
      line-height: 17px;
      color: #dffeff;
      text-align: center;
      margin-top: 7px;
    }
    .bb4-le-sub {
      width: 112px;
      height: 138px;
      position: relative;
      margin: 0 auto;
      .bb4-leb-light {
        width: 171px;
        height: 100px;
        position: absolute;
        top: -8px;
        left: 50%;
        transform: translate(-50%, 0);
        z-index: 5;
        animation: bbLight ease 2s infinite;
      }
      .bb4-leb-tri {
        width: 20px;
        height: 10px;
        background: url('~@/assets/cockpit/bb4-leb-tri.png') no-repeat 0/ 100% 100%;
        position: absolute;
        bottom: 8px;
        left: 50%;
        transform: translate(-50%, 0);
        z-index: 5;
        animation: bbTri ease 2s infinite;
      }

      .bb4-leb-word {
        width: 100%;
        position: absolute;
        left: 0;
        top: 44px;
        z-index: 10;
        > p {
          font-size: 22px !important;
          text-align: center;
          color: #fff;
          text-shadow: 0 0 4px #fff;
        }
        > h6 {
          width: 65%;
          font-size: 12px !important;
          line-height: 16px;
          text-align: center;
          color: #dffeff;
          margin: auto;
          margin-top: 8px;
        }
      }
    }
    .bb4-le-sub1 {
      background: url('~@/assets/cockpit/bb4-le-sub1.png') no-repeat 0/ 100% 100%;
      .bb4-leb-light {
        background: url('~@/assets/cockpit/bb4-leb-light1.png') no-repeat 0/ 100% 100%;
      }
    }
    .bb4-le-sub2 {
      background: url('~@/assets/cockpit/bb4-le-sub2.png') no-repeat 0/ 100% 100%;
      .bb4-leb-light {
        background: url('~@/assets/cockpit/bb4-leb-light2.png') no-repeat 0/ 100% 100%;
      }
    }
    .bb4-le-sub3 {
      background: url('~@/assets/cockpit/bb4-le-sub3.png') no-repeat 0/ 100% 100%;
      .bb4-leb-light {
        background: url('~@/assets/cockpit/bb4-leb-light3.png') no-repeat 0/ 100% 100%;
      }
    }
  }
}
@keyframes bbLight {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}
@keyframes bbTri {
  0% {
    transform: translate(-50%, 0);
  }
  50% {
    transform: translate(-50%, -5px);
  }
  100% {
    transform: translate(-50%, 0);
  }
}
</style>
